import microApp from  '@micro-zoe/micro-app'
import { useEffect } from 'react'
microApp.start()
export const activeRule = (item: any,basename) => {
  
    return item.jdMicroApp&&'/micro-zoe'===  location.pathname
  }
  export const MicroApp = ({name,container, onLoad, entry})=>{
    
    return  <micro-app name={name} url={entry}></micro-app>
  }
  export default {
    activeRule,
    MicroApp,
  
  }